/* Registration Page Specific Styles */

/* Override body styles for registration page */
.registration-page {
    overflow: auto;
    background-color: #F5F5F5;
}

/* Remove physics world for registration page */
.registration-page #physics-world {
    display: none;
}

/* Main Content Layout - Same as about page */
.registration-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 60px;
}

/* Responsive layout adjustments */
@media (max-width: 1400px) {
    .registration-main {
        padding: 40px 40px;
    }
}

@media (max-width: 1200px) {
    .registration-main {
        padding: 30px 30px;
    }
}

.registration-content {
    width: 100%;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5; /* Lower than header z-index: 10 */
    padding: 20px;
}

/* Responsive sidebar positioning anchored 20px left of main content */
/* Default: registration-main margin-left = 430px */
@media (min-width: 1400px) {
    .sidebar {
        left: 350px; /* 430 - ~80 (sidebar width + 20px gap) */
        padding-left: 0;
    }
}

/* registration-main margin-left = 200px */
@media (max-width: 1400px) and (min-width: 1200px) {
    .sidebar {
        left: 120px; /* 200 - ~80 */
        padding-left: 0;
    }
}

/* registration-main margin-left = 100px */
@media (max-width: 1200px) and (min-width: 1024px) {
    .sidebar {
        left: 20px; /* 100 - ~80 */
        padding-left: 0;
    }
}

/* Tablets: registration-main margin-left = 80px */
@media (max-width: 1024px) and (min-width: 769px) {
    .sidebar {
        left: 0px; /* 80 - ~80 keeps a ~20px visual gap due to rounding */
        padding-left: 0;
    }
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-button {
    width: 40px;
    height: 40px;
    background-color: #E5E5E5;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sidebar-button:hover {
    background-color: #B31B1B;
    transform: scale(1.05);
}

.sidebar-button.active {
    background-color: #B31B1B;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sidebar-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.sidebar-button.active .sidebar-icon {
    filter: invert(1);
}

.sidebar-button:hover .sidebar-icon {
    filter: invert(1);
}

.sidebar-button:not(.active):not(:hover) .sidebar-icon {
    filter: invert(0.5);
}

.logo-home-button {
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-home-button:hover {
    transform: scale(1.05);
}

.logo-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
}


/* Section Styles - Same as about page */
.section {
    padding: 60px 0;
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #B31B1B;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 32px;
    line-height: 1.3;
}

.section-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #555;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Image Gallery Scrolling Wrapper */
.scrolling-wrapper {
    overflow-x: hidden;
    overflow-y: hidden;
    white-space: nowrap;
    margin-top: 32px;
    padding: 16px 0;
    position: relative;
}

.scrolling-wrapper::-webkit-scrollbar {
    display: none;
}

.scrolling-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.image-card {
    display: inline-block;
    margin-right: 16px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    white-space: normal;
}

.image-card:hover {
    transform: translateY(-4px);
}

.image-card:last-child {
    margin-right: 0;
}

.gallery-image {
    width: 300px;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Important Dates Timeline */
.dates-timeline {
    margin-top: 40px;
}

.date-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    margin-left: 50px;

}

.date-star {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-right: 40px;
    flex-shrink: 0;
}

.date-item {
    flex: 1;
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    max-width: 780px;
}

.date-item:hover {
    transform: translateY(-2px);
}

.date-item.important {
    border-left: 4px solid #B31B1B;
    background-color: #FFF9F9;
}

.date-content {
    width: 100%;
}

.date-title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.date-time {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #B31B1B;
    margin: 0;
    margin-bottom: 8px;
}

.date-blurb {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #666;
    line-height: 1.4;
    margin: 0;
    font-style: italic;
}

/* Registration Process Grid */
.registration-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.registration-type {
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.registration-type-title {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #B31B1B;
    margin-bottom: 16px;
    text-align: center;
}

.registration-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Steps List */
.steps-list {
    margin-bottom: 24px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.step-number {
    width: 28px;
    height: 28px;
    background-color: #B31B1B;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-right: 16px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Individual Info */
.individual-info {
    margin-bottom: 24px;
}

.individual-info p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Registration Links */
.registration-link {
    color: #B31B1B;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.registration-link:hover {
    color: #9A1515;
}

/* Register Buttons */
.register-button-container {
    text-align: center;
    margin-top: 24px;
}

.register-button {
    display: inline-block;
    background-color: #B31B1B;
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.register-button:hover {
    background-color: #9A1515;
    transform: translateY(-2px);
}

/* Support Info */
.support-info {
    margin-top: 40px;
    text-align: center;
    padding: 24px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.support-info p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    margin: 0;
}

.support-link {
    color: #B31B1B;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.support-link:hover {
    color: #9A1515;
}

/* Eligibility Section */
.eligibility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.eligibility-type {
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.eligibility-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #B31B1B;
    margin-bottom: 20px;
    text-align: center;
}

.eligibility-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eligibility-list li {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.eligibility-list li::before {
    content: "•";
    color: #B31B1B;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Fees Section */
.fees-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.fee-item {
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.fee-item:hover {
    transform: translateY(-4px);
}

.fee-item.early-bird {
    border: 2px solid #28A745;
}

.fee-item.normal {
    border: 2px solid #B31B1B;
}

.fee-title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.fee-amount {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #B31B1B;
    margin-bottom: 8px;
}

.early-bird .fee-amount {
    color: #28A745;
}

.fee-deadline {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin: 0;
}

.fee-info {
    margin-top: 40px;
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.fee-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #555;
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: center;
}

.fee-policies {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.policy-item {
    padding: 20px;
    background-color: #F9F9F9;
    border-radius: 8px;
}

.policy-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #B31B1B;
    margin-bottom: 12px;
}

.policy-item p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .registration-main {
        padding: 30px 30px;
    }
    
    .registration-grid {
        grid-template-columns: 1fr;
    }
    
    .eligibility-grid {
        grid-template-columns: 1fr;
    }
    
    .fees-grid {
        grid-template-columns: 1fr;
    }
    
    .fee-policies {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: auto;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 400px;
        padding: 0 20px;
    }
    
    .sidebar-nav {
        flex-direction: row;
        justify-content: center;
        background-color: white;
        padding: 12px;
        border-radius: 25px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .sidebar-button {
        width: 50px;
        height: 50px;
    }

    .registration-main {
        padding: 40px 20px;
        margin-bottom: 100px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-subtitle {
        font-size: 20px;
    }
    
    .date-wrapper {
        flex-direction: column;
        align-items: center;
        margin-left: 0;
    }
    
    .date-star {
        margin-right: 0;
        margin-bottom: 12px;
    }
    
    .date-item {
        text-align: center;
    }
    
    .gallery-image {
        width: 250px;
        height: 167px;
    }
}

@media (max-width: 480px) {
    .sidebar-nav {
        gap: 8px;
        padding: 8px;
    }
    
    .sidebar-button {
        width: 45px;
        height: 45px;
    }
    
    .sidebar-icon {
        width: 20px;
        height: 20px;
    }

    .registration-main {
        padding: 20px 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 18px;
    }
    
    .gallery-image {
        width: 200px;
        height: 133px;
    }
    
    .image-card {
        margin-right: 12px;
    }
}

/* Footer Styles */
.footer {
    border-top: 2px solid #E5E5E5;
    padding: 40px 0;
    margin-top: 80px;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-2px);
}

.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-disclaimer {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    text-align: right;
    max-width: 400px;
    line-height: 1.5;
    margin: 0;
}

/* Footer Responsive Design */
@media (max-width: 768px) {
    .footer {
    }
    
    .footer-content {
        padding: 0 20px;
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    
    .footer-left {
        align-items: center;
    }
    
    .footer-disclaimer {
        text-align: center;
        max-width: none;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 32px 0;
        margin-top: 60px;
    }
    
    .footer-content {
        padding: 0 15px;
        gap: 24px;
    }
    
    .footer-logo {
        width: 50px;
        height: 50px;
        margin-bottom: 16px;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .footer-disclaimer {
        font-size: 12px;
    }
}